Skip to content

sub-refs.t - handle likely line number reporting from 5.45.0+#51

Open
richardleach wants to merge 1 commit into
DrHyde:masterfrom
richardleach:5.45.0_line_numbers
Open

sub-refs.t - handle likely line number reporting from 5.45.0+#51
richardleach wants to merge 1 commit into
DrHyde:masterfrom
richardleach:5.45.0_line_numbers

Conversation

@richardleach
Copy link
Copy Markdown

Early in the next development cycle of the perl interpreter, an attempt will be made to improve the inaccuracy of line number reporting by warning/error messages and caller(), starting with:

These changes break one test in this module written to match a specific emitted line number.

Since that test already matches two alternative forms of test output, this commit adds a third to match the output if the above PRs make it into tagged perl releases.

Early in the next development cycle of the perl interpreter, an attempt will
be made to improve the inaccuracy of line number reporting by warnings/error
and caller(), starting with:

Perl/perl5#24387 - starting statement in elsif() blocks
Perl/perl5#24389 - loop condition statements
Perl/perl5#24396 - mid-statement anon sub declarations

These changes break one test in this module written to match a specific
emitted line number.

Since that test already matches two alternative forms of test output, this
commit adds a third to match the output if the above PRs make it into
tagged perl releases.
@DrHyde
Copy link
Copy Markdown
Owner

DrHyde commented May 3, 2026

Thanks! I'll keep an eye on this and test it once the changes hit blead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants